package com.hong.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 员工记录表
 */
@ApiModel(description="员工记录表")
@Data
@TableName(value = "employee")
public class Employee implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 姓名
     */
    @TableField(value = "`name`")
    @ApiModelProperty(value="姓名")
    private String name;

    /**
     * 年龄
     */
    @TableField(value = "age")
    @ApiModelProperty(value="年龄")
    private Integer age;

    /**
     * 职位
     */
    @TableField(value = "`position`")
    @ApiModelProperty(value="职位")
    private String position;

    /**
     * 入职时间
     */
    @TableField(value = "hire_time")
    @ApiModelProperty(value="入职时间")
    private Date hireTime;

    /**
     * 删标志
     */
    @TableField(value = "deleted")
    @ApiModelProperty(value="删标志")
    private Boolean deleted;

    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    @ApiModelProperty(value="创建时间")
    private Date createdTime;

    /**
     * 创建人
     */
    @TableField(value = "created_id")
    @ApiModelProperty(value="创建人")
    private Long createdId;

    /**
     * 更新时间
     */
    @TableField(value = "modify_time")
    @ApiModelProperty(value="更新时间")
    private Date modifyTime;

    /**
     * 更新人
     */
    @TableField(value = "modify_id")
    @ApiModelProperty(value="更新人")
    private Long modifyId;

    private static final long serialVersionUID = 1L;
}